package com.woniu.rear.comm.web.exception;

import com.woniu.rear.comm.core.code.FileUploadErrorEnum;
import com.woniu.rear.comm.core.exception.RearException;

/**
   *   文件上传异常类
 * @author liwei
 *
 */
public class RearFileUploadException extends RearException{

	private static final long serialVersionUID = 1L;
	
	public RearFileUploadException(Integer code, String msg) {
		super(code, msg);
	}
	
	public RearFileUploadException(FileUploadErrorEnum fileUploadErrorEnum) {
		this(fileUploadErrorEnum.getCode(), fileUploadErrorEnum.getMsg());
	}

	

}
